﻿/**
 *
 * at_client.h
 *
 *  Created on: 2019-10-21
 *      Author: chenshisheng
 */

#ifndef AT_CLIENT_H_
#define AT_CLIENT_H_

#include "main.h"

#define AT_CLIENT_RX_BUF_SIZE 512

void AtClient_Init(void);
int AtClient_Send(int respondTimeoutMs, const char *fmt, ...);
void AtClient_AbortExecution(void);
char *AtClient_RespValue(void);
int AtClient_Split(char *str, char split, char *argv[], int argcMax);
int AtClient_RespValueList(char *argv[], int argcMax);
int AtClient_Printf(const char *fmt, ...);

#endif /* AT_CLIENT_H_ */
